package com.taco.springcloud.generate.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 列MetaInfo
 *
 * @author Yu
 * @date 2019/10/02 21:07
 **/

@Data
@ApiModel(value = "ColumnDTO", description = "列元数据")
public class ColumnDTO {

    /**
     * 列名
     */
    @ApiModelProperty(value = "列名")
    private String columnName;
    /**
     * 列名类型
     */
    @ApiModelProperty(value = "列名类型")
    private String dataType;
    /**
     * 列名备注
     */
    @ApiModelProperty(value = "列名备注")
    private String columnComment;

    /**
     * 键类型
     */
    @ApiModelProperty(value = "键类型")
    private String columnKey;

    /**
     * auto_increment
     */
    @ApiModelProperty(value = "auto_increment")
    private String extra;

}
